An out-of-bounds read was found in opj_t2_encode_packet when small precincts and an origin shift are given in OpenJPEG 2.3.1.
An out-of-bounds read was found in opj_t2_encode_packet when small precincts and an origin shift are given in OpenJPEG 2.3.1.
https://github.com/uclouvain/openjpeg/issues/1297 https://github.com/uclouvain/openjpeg/pull/1298 https://github.com/uclouvain/openjpeg/commit/38d661a3897052c7ff0b39b30c29cb067e130121